package com.eddy.liveline.requirement.service;

import com.eddy.liveline.core.spring.mybatis.pagehelper.Table;
import com.eddy.liveline.requirement.pojo.Requirement;
import com.eddy.liveline.requirement.pojo.RequirementTableQuery;

import java.util.List;

/**
 * Created by eddy on 2019/6/23.
 */
public interface RequirementService {

    public boolean batchSave(List<Requirement> requirements);

    public boolean deleteById(String id);

    public boolean deleteByIds(List<String> ids);

    public Requirement getById(String id);

    public Table<Requirement> query(RequirementTableQuery requirementTableQuery);

    public boolean batchUpdate(List<Requirement> requirements);


}
